// ==UserScript==
// @name           target blank remove step2
// @include       *.baidu.*
// @include       *qidian.com*
// @version 0.0.20220517
// @description 配合UBLOCK，*##+js(ra, target,a[target="_blank"])使用
// @updateURL https://gitee.com/laulguo/personalrule/raw/master/target%20blank%20remove_part_mode/target%20blank%20remove%20step2.user.js
// ==/UserScript==
document.addEventListener('DOMContentLoaded',function() 
  {

	            var ahrefs = document.querySelectorAll('a[target]');
	            for ( a_ind = 0; a_ind < ahrefs.length; a_ind++ ) {
	            	var a = ahrefs[a_ind];
	            	a.removeAttribute('target');
	            }
  }
                       );